-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[Spark-4512] [SQL] Unresolved Attribute Exception in Sort By #3386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test build #23673 has started for PR 3386 at commit
|
Test build #23673 has finished for PR 3386 at commit
|
Test FAILed. |
Test build #23832 has started for PR 3386 at commit
|
Test build #23832 has finished for PR 3386 at commit
|
Test FAILed. |
Test build #23841 has started for PR 3386 at commit
|
Test build #23841 has finished for PR 3386 at commit
|
Test PASSed. |
Project(projectList ++ missingInProject, child))) | ||
} else { | ||
logDebug(s"Failed to find $missingInProject in ${p.output.mkString(", ")}") | ||
s // Nothing we can do here. Return original plan. | ||
} | ||
case s @ Sort(ordering, a @ Aggregate(grouping, aggs, child)) if !s.resolved && a.resolved => | ||
case s @ Sort(ordering, global, a @ Aggregate(grouping, aggs, child)) | ||
if !s.resolved && a.resolved => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indent 4 spaces.
Sorry for the delay! This looks great. Two minor comments then LGTM. |
Add `sort by` support for both DSL & SqlParser. This PR is relevant with #3386, either one merged, will cause the other rebased. Author: Cheng Hao <[email protected]> Closes #3481 from chenghao-intel/sortby and squashes the following commits: 041004f [Cheng Hao] Add sort by for DSL & SimpleSqlParser
Test build #24615 has started for PR 3386 at commit
|
Test build #24615 has finished for PR 3386 at commit
|
Test PASSed. |
Test build #24646 has started for PR 3386 at commit
|
Test build #24646 has finished for PR 3386 at commit
|
Test PASSed. |
@@ -238,7 +238,7 @@ class SchemaRDD( | |||
* {{{ | |||
* schemaRDD.limit(10) | |||
* }}} | |||
* | |||
* o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes, it's a typo, revert it. Thanks.
Test build #24661 has started for PR 3386 at commit
|
Test build #24661 has finished for PR 3386 at commit
|
Test PASSed. |
Test build #24690 has started for PR 3386 at commit
|
Test build #24690 has finished for PR 3386 at commit
|
Test PASSed. |
It will cause exception while do query like:
SELECT key+key FROM src sort by value;